<?php
//header("Content-type: text/html; charset=utf-8");
$json_string = file_get_contents('plugin/tp_words/hook/words.json');  
$data = json_decode($json_string, true);
$num = array_rand($data,1); 
//var_dump($data); 
//print_r($data);
?>  

<div class="card">
			<div class="card-header">
				经典名句
			</div>
			<div class="card-footer">
				<div style="font-size: 1.1rem; font-family: Larsseit, Helvetica Neue, Helvetica, Arial, sans-serif"><?php echo $data[$num]['en'];?></div><hr><?php echo $data[$num]['cn'];?>				
			</div>
</div>
